package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 求助者需求提交对象 hs_sub
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class HsSub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 种类 */
    @Excel(name = "种类")
    private String type;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 名称 */
    private String name;

    /** 需求状态(0急需 1较需) */
    @Excel(name = "需求状态(0急需 1较需)")
    private String states;

    /** 地区 */
    @Excel(name = "地区")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("quantity", getQuantity())
            .append("name", getName())
            .append("states", getStates())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("address", getAddress())
            .toString();
    }
}
